Visual Thought now exports clickable imagemap information from its documents. Objects in your Visual Thought document automatically become hot zones in your Web page, allowing you to create instant Web diagrams with URL links already defined! Why fuss with laboriously defining your own imagemaps when Visual Thought can do it all for you in one step?
Supported customers can obtain the plug-in translators that export imagemaps free of charge by sending email to info@confluent.com.
Here are some examples of images and imagemaps created with Visual Thought. This is an image that uses a server-side imagemap:
When you move your mouse over the image, your browser's status line displays raw coordinates on the image. Only when you actually click do you discover whether you'll be linked anywhere.
Here is the same image using a client-side imagemap (which won't work unless your browser supports client-side imagemaps):
Notice that when you move your cursor over hot zones in the image using the client-side imagemap, the cursor changes and your browser's status line displays the linked URL. The feedback and interactivity of client-side imagemaps is an improvement over server-side imagemaps.
Support for server-side imagemaps is almost ubiquitous, but browsers supporting client-side imagemaps are becoming increasingly common. For example, both Netscape 2.0 and Microsoft's Internet Explorer 2.0 support client-side imagemaps, which probably means that you'd want to export client-side imagemaps for your web site.
Visual Thought exports both server-side and client-side imagemaps. If you want to try it yourself, here is the original document from which the images and maps of these examples were derived. (mapexample.tar.Z 6kb)
For another, more extensive example, please see our Index of Major HTML Pages.
Choose the File->Export... menu item, select the Compuserve GIF87A File Type, select Document as What to Save, then click OK. This exports your document as a GIF image.
Important note: As provided, the imagemap module only writes hot zone information for shapes that have file attachments (created using the File Attachment panel of the Inspector). This is because there are often many different shapes in a docuemnt (such as the invisible shapes that enclose free text), and you won't usually want to hotlink all of them. You can tell that a shape has a file attachment because it will display a round activation button at its lower right corner. You can specify the absolute path to a file attachment with a file chooser by clicking the "Open" button in the File Attachment panel. You can also specify any text you want as the attachment by typing directly into the File Attachment text field itself.
Less important note: The imagemap module can be almost infinitely configured to export information in the form that you need. For example, it can be easily made to write hot zone information only for ellipses in your document containing the text "URL." For more information on how to customize the imagemap module, please send email to info@confluent.com. If you are a UNIX shell script hacker, you should easily be able to make the modifications yourself.
Choose the File->Export... menu item. Then select either of two imagemap formats as the File Type; either NCSA HTTPd server-side imagemap or Spyglass client-side imagemap. Select Document as What to Save. Click OK. Visual Thought will extract information about all objects that have attachments from your document and write out those objects as hot zones in the imagemap.
The two imagemap formats Visual Thought supports are:
Most web servers support this format. If you look at an image on a web site that is imagemapped, you can tell it's a server-side imagemap if your mouse movements over the image generate a series of coordinate locations like "203, 54" on the browser's status line. You don't get information about hot zones, or any indication at all if clicking will do anything until after you click. A typical line in an NCSA imagemap file looks like:
rect /vt-tips.html 154,217 230,257
Netscape 2.0 and Microsoft's Internet Explorer 2.0, among other browsers, support this format. You can tell you're looking at an image with a client-side imagemap if your cursor changes when you're over hot zones, and your browser's status line tells you the URL of a hot zone's link. Obviously, it's preferable to use client-side imagemaps, but not all browsers support them. A typical line in a Spyglass-style imagemap file looks like:
<area shape="rect" coords="154,217,230,257" href="/vt-tips.html">
Last, reference the GIF image and imagemap from your HTML document.
If your image is named web.gif
and the imagemap is a client-side
imagemap named web.map
defining a map named testmap
,
use a line like this:
<img src="images/web.gif" usemap="images/web.map#testmap">You can also insert the web.map file into your HTML file to avoid the reference to the map file, in which case a fragment of the HTML file would look like:
<map name="testmap"> ... deleted lines ... </map> <img src="images/web.gif" usemap="#testmap">If
web.map
is a server-side imagemap, you'll need a syntax
like this:
<a href="http://www.confluent.com/cgi-bin/imagemap/images/web.map"> <img src="images/web.gif" ismap> </a>where the
http://www.confluent.com/cgi-bin/imagemap
is a
system-defined path to your map in images/web.map
.
You can combine the two imagemap types into one. Browsers that support client-side maps will use the client-side map info, and browsers that don't will use the server-side map info.
<a href="http://www.confluent.com/cgi-bin/imagemap/images/webserver.map"> <img src="images/web.gif" ismap usemap="images/webclient.map#testmap"> </a>assuming
webserver.map
and webclient.map
are
map files containing server-side and client-side maps, respectively.
Confluent, Inc. * 400 Spear Street, Suite 207 * San Francisco, CA 94105
800-780-2838 and 415-764-1000 tel * 415-764-1008 fax *
info@confluent.com
Please send comments about this web site to:
webmaster@confluent.com